package com.hcb.micro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.QqbsRewardMapper;
import com.hcb.micro.dto.QqbsReward;
import com.hcb.micro.service.IQqbsRewardService;

@Service("QqbsRewardService")
public class QqbsRewardServiceImpl implements IQqbsRewardService {

	@Autowired
	QqbsRewardMapper qqbsRewardMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return qqbsRewardMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(QqbsReward record) {
		return qqbsRewardMapper.insert(record);
	}

	@Override
	public int insertSelective(QqbsReward record) {
		return qqbsRewardMapper.insertSelective(record);
	}

	@Override
	public QqbsReward selectByPrimaryKey(Integer id) {
		return qqbsRewardMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(QqbsReward record) {
		return qqbsRewardMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(QqbsReward record) {
		return qqbsRewardMapper.updateByPrimaryKey(record);
	}

	@Override
	public QqbsReward selectByAccountId(Integer accountId) {
		return qqbsRewardMapper.selectByAccountId(accountId);
	}

}
